package com.aloda.ojcommon.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author aloda
 * @Date 2025/4/25 8:36
 */
@Data
@ConfigurationProperties(prefix = "oj.token")
@Component
public class TokenProperties {

    /**
     * 用户token有效期
     */
    private Integer userTokenTimeout;

    /**
     * 用户token名称
     */
    private String userTokenName;
}
